package ysu.sxm.ptjc.Dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import ysu.sxm.ptjc.Domin.InvalidationReq;
import ysu.sxm.ptjc.pojo.ProRelationInfo;

import java.util.List;

@Repository
@Mapper
public interface ProRelationInfoDao {
    ProRelationInfo  getProRelationInfoByProduceNum(String num);
    List<ProRelationInfo>getId();
    List<ProRelationInfo>getByInvalidationReq(InvalidationReq invalidationReq);
    void insertPro(ProRelationInfo Pro);
    void delete();
    void insertByList(@Param("proRelationInfo") List<ProRelationInfo>proRelationInfos);
}
